package com.ruoyi.system.dto.kujiale.info;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 户型基本信息实体类（所有层共有）
 */
@Data
@ApiModel(description = "户型基本信息，所有层共享的公共信息")
public class BasicInfo {

    @ApiModelProperty(value = "酷家乐户型图的ID，唯一标识一个户型图", required = true, example = "3FO4HYFKXBFJ")
    private String planId;

    @ApiModelProperty(value = "如果status为1（装修阶段）则为方案ID；如果status为0（户型阶段）则为空", example = "3FO3461K81DC")
    private String designId;

    @ApiModelProperty(value = "户型所在的小区名字", required = true, example = "未知小区")
    private String commName;

    @ApiModelProperty(value = "户型所在城市全名", required = true, example = "浙江省 杭州市 上城区")
    private String city;

    @ApiModelProperty(value = "户型名", required = true, example = "多层方案测试")
    private String name;

    @ApiModelProperty(value = "方案创建时间戳（精确到ms）", required = true, example = "1523268134000")
    private long created;

    @ApiModelProperty(value = "方案最后修改时间戳（精确到ms）", required = true, example = "1523273099000")
    private long modifiedTime;

    @ApiModelProperty(value = "封面图URL（户型阶段为户型图，装修阶段可能为渲染图）", required = true)
    private String coverPic;

    @ApiModelProperty(value = "方案分类ID（方案未分类则无此字段）", example = "3FO4K4VEEDF5")
    private String tagId;

    @ApiModelProperty(value = "普通全屋漫游图访问地址（有漫游图则存在）")
    private String designPanoUrl;

    @ApiModelProperty(value = "智能全屋漫游图访问地址（有智能漫游图则存在）")
    private String designAIPanoUrl;

    @ApiModelProperty(value = "方案创建者的appUid（可能为空）")
    private String appUid;

    @ApiModelProperty(value = "省份（可能为空）")
    private String province;

    @ApiModelProperty(value = "市（可能为空）")
    private String municipality;

    @ApiModelProperty(value = "区（可能为空）")
    private String district;

    @ApiModelProperty(value = "户型描述（可能为空）")
    private String desc;

    @ApiModelProperty(value = "整个户型的建筑外框面积（平方米）", example = "66.82243")
    private float srcArea;

    @ApiModelProperty(value = "整个户型的套内建筑面积（平方米）", example = "53.457947")
    private float area;

    @ApiModelProperty(value = "整个户型的套内使用面积（平方米）", example = "53.457947")
    private float realArea;
}
